﻿using System;
namespace Producers.Kis.Xtee.Riik.Ee.Producer.Kis {
    
    
    public partial class ErrorDescriptionData : global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.IErrorDescriptionData {
        
        private string @__errorCode;
        
        private string @__errorText;
        
        public ErrorDescriptionData() {
        }
        
        /// <summary>
        /// All parameters
        /// </summary>
        public ErrorDescriptionData(string @errorCode, string @errorText) {
            this.@__errorCode = @errorCode;
            this.@__errorText = @errorText;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        protected ErrorDescriptionData(IErrorDescriptionData @errorDescriptionData) {
            this.@__errorCode = @errorDescriptionData.ErrorCode;
            this.@__errorText = @errorDescriptionData.ErrorText;
        }
        
        public virtual string ErrorCode {
            get {
                return this.@__errorCode;
            }
            set {
                this.@__errorCode = value;
            }
        }
        
        public virtual string ErrorText {
            get {
                return this.@__errorText;
            }
            set {
                this.@__errorText = value;
            }
        }
    }
}
